#ifndef HANDLERGOALS_H
#define HANDLERGOALS_H

#include <QObject>
#include "Aria.h"
#include "ArNetworking.h"

class handlerGoals : public QObject
{
    Q_OBJECT
public:
    explicit handlerGoals(QObject *parent = 0, ArClientBase *client=0);
    
signals:
    void signal_add_goal(QString);
    void signal_remove_goals();


private:
    ArClientBase *handledClient;
    ArFunctor1C<handlerGoals,ArNetPacket *> updateGoalsCB;

    void handlerUpdateGoals(ArNetPacket *packet);
};

#endif // HANDLERGOALS_H
